package com.ash.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 岗位
 */
@FeignClient(value = "provider-service", path = "/",fallbackFactory = ProviderServiceFallbackFactory.class)
public interface ProviderServiceApi {

    @GetMapping("/{name}")
    String sayHello(@PathVariable(value = "name") String name);


}
